/**   
* @{#} FuncNode.java Create on 2013-8-12 上午8:28:30   
*   
* Copyright (c) 2012 by Baidu.   
*/
package objtable.engine.xmlnode;

import objtable.core.TableCenter;
import objtable.engine.ExeNode;
import objtable.engine.xmlnode.gen.Order;

/**   
* @author <a href="mailto:zhangbo07@baidu.com">zhangbo07</a>  
* @version 1.0   
*/
public class OrderNode extends ExeNode {
	private Order order;

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	@Override
	public void exeNode() {
		TableCenter.orderTableData(order.getTable(), order.getFields(),
				order.isAsc());
	}
}
